package com.david.service.impl;

import com.david.service.OrderService;
import org.springframework.stereotype.Service;

/**
 * 订单
 */
@Service("orderService")
public class OrderServiceImpl implements OrderService {
    @Override
    public int add() {
        return 22;
    }

    @Override
    public Integer get() {
        return 2333;
    }

    @Override
    public Integer ad() {
        throw new RuntimeException("故意测试异常");
    }
}
